home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK1.toast / Development Kits / Interfaces&Libraries / Universal / Interfaces / PInterfaces / QD3DCustomElements.p < prev    next >
Encoding:
Text File  |  1998-08-17  |  2.4 KB  |  93 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        QD3DCustomElements.p
  3.  
  4.      Contains:    Custom QuickTime Elements in QuickDraw 3D                            
  5.  
  6.      Version:    Technology:    Quickdraw 3D 1.5.4
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    © 1995-1998 by Apple Computer, Inc., all rights reserved.
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. }
  17. {$IFC UNDEFINED UsingIncludes}
  18. {$SETC UsingIncludes := 0}
  19. {$ENDC}
  20.  
  21. {$IFC NOT UsingIncludes}
  22.  UNIT QD3DCustomElements;
  23.  INTERFACE
  24. {$ENDC}
  25.  
  26. {$IFC UNDEFINED __QD3DCUSTOMELEMENTS__}
  27. {$SETC __QD3DCUSTOMELEMENTS__ := 1}
  28.  
  29. {$I+}
  30. {$SETC QD3DCustomElementsIncludes := UsingIncludes}
  31. {$SETC UsingIncludes := 1}
  32.  
  33. {$IFC UNDEFINED __QD3D__}
  34. {$I QD3D.p}
  35. {$ENDC}
  36.  
  37.  
  38. {$PUSH}
  39. {$ALIGN POWER}
  40. {$LibExport+}
  41.  
  42.  
  43. {*****************************************************************************
  44.  **                                                                             **
  45.  **                        Custom Name Element Functions                         **
  46.  **                                                                             **
  47.  ****************************************************************************}
  48. FUNCTION CENameElement_SetData(object: TQ3Object; name: ConstCStringPtr): TQ3Status; C;
  49. FUNCTION CENameElement_GetData(object: TQ3Object; name: CStringPtrPtr): TQ3Status; C;
  50. FUNCTION CENameElement_EmptyData(name: CStringPtrPtr): TQ3Status; C;
  51.  
  52. {*****************************************************************************
  53.  **                                                                             **
  54.  **                            URL Data Structure Definitions                     **
  55.  **                                                                             **
  56.  ****************************************************************************}
  57.  
  58. TYPE
  59.     TCEUrlOptions                 = LONGINT;
  60. CONST
  61.     kCEUrlOptionNone            = {TCEUrlOptions}0;
  62.     kCEUrlOptionUseMap            = {TCEUrlOptions}1;
  63.  
  64.  
  65. TYPE
  66.     TCEUrlDataPtr = ^TCEUrlData;
  67.     TCEUrlData = RECORD
  68.         url:                    CStringPtr;
  69.         description:            CStringPtr;
  70.         options:                TCEUrlOptions;
  71.     END;
  72.  
  73. {*****************************************************************************
  74.  **                                                                             **
  75.  **                        Custom URL Element Functions                         **
  76.  **                                                                             **
  77.  ****************************************************************************}
  78. FUNCTION CEUrlElement_SetData(object: TQ3Object; VAR urlData: TCEUrlData): TQ3Status; C;
  79. FUNCTION CEUrlElement_GetData(object: TQ3Object; VAR urlData: TCEUrlDataPtr): TQ3Status; C;
  80. FUNCTION CEUrlElement_EmptyData(VAR urlData: TCEUrlDataPtr): TQ3Status; C;
  81.  
  82.  
  83. {$ALIGN RESET}
  84. {$POP}
  85.  
  86. {$SETC UsingIncludes := QD3DCustomElementsIncludes}
  87.  
  88. {$ENDC} {__QD3DCUSTOMELEMENTS__}
  89.  
  90. {$IFC NOT UsingIncludes}
  91.  END.
  92. {$ENDC}
  93.